/*
 * @Author: 梁 卓
 * @Version: V1.0.0
 * @Date: 2024-02-02 17:07:16
 * @LastEditors: 梁 卓
 * @LastEditTime: 2024-02-07 20:54:29
 * @FilePath: main.js
 * Copyright 2024 Marvin, All Rights Reserved. 
 * 2024-02-02 17:07:16
 * @Description: 引入全局依赖
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
// 在vue项目中引入echarts
import * as echarts from 'echarts';
// 在vue项目中引入百度地图
import BaiduMap from 'vue-baidu-map';
 // 导入CryptoJS模块(加密算法)
 import CryptoJS from 'crypto-js'
 

Vue.use(BaiduMap , {
    ak:"dgglUlIDtVwsCZXdDdoUHCG0RGL6aclb"
})

Vue.use(ElementUI);

Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Vue.prototype.$echarts = echarts;
// 将CryptoJS注册为全局变量
Vue.prototype.$CryptoJS = CryptoJS;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
